package model.houseproject_commity.service.impl;

import model.houseproject_commity.entity.Appointment;
import model.houseproject_commity.mapper.AppointmentMapper;
import model.houseproject_commity.service.AppointmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ws on 2019/7/3.
 */
@Service
@Transactional
public class appointmentServiceImpl implements AppointmentService {
    @Autowired
    private AppointmentMapper appointmentMapper;
    @Override
    public List<Appointment> findallorder() {
        return appointmentMapper.findallorder();
    }
}
